package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sc.nft.enums.CollectionOnConsignEnum;
import com.sc.nft.enums.ReceivedCollectionType;
import com.sc.nft.enums.UserCollectionFreezingStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CollectionByUserDetailVO {
    @ApiModelProperty("藏品编号")
    private Integer numbering;

    @ApiModelProperty("购买时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "藏品来源", hidden = true)
    @JsonIgnore
    private ReceivedCollectionType type;
    @ApiModelProperty("藏品来源名称")
    private String typeName;
    @ApiModelProperty("上链状态")
    private Integer status;
    @ApiModelProperty("质押状态")
    @JsonIgnore
    private UserCollectionFreezingStatusEnum freezingStatus;
    @ApiModelProperty("质押状态名称")
    private String freezingStatusName;
    @ApiModelProperty("寄售状态")
    private CollectionOnConsignEnum onConsign;
}
